package net.fpeg.kotlin.msa.wordbase.dao

import net.fpeg.kotlin.msa.wordbase.entity.WordUserRelationGroup
import org.springframework.data.jpa.repository.JpaRepository

interface WordUserRelationGroupDao : JpaRepository<WordUserRelationGroup, Long> {
    fun getById(id: Long): WordUserRelationGroup?
    fun findByWordUser_IdAndWordUserRelations_Word_Value(wordUser_id: Long, wordUserRelations_word_value: String): List<WordUserRelationGroup>
}
